package ink.teamwork.battery.entity

import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
import lombok.Data;

import java.time.LocalDateTime

        @Data
@Entity
@Table
public class Coupon(
    @Id
    private Long id: Long,
    private openId: String,
    private Integer value: Int,
    private Boolean used: Boolean,
    private LocalDateTime createdAt: LocalDateTime,
    private LocalDateTime updatedAt: LocalDateTime,
)